package com.example.export.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author PC
 * 导出属性
 */
@Component
@ConfigurationProperties(prefix = "cus.export")
public class ExportProperties {
    /**
     * 默认文件名称
     */
    private String defaultFileName = "export";

    /**
     * 默认sheet名称
     */
    private String defaultSheetName = "template";

    public String getDefaultFileName() {
        return defaultFileName;
    }

    public void setDefaultFileName(String defaultFileName) {
        this.defaultFileName = defaultFileName;
    }

    public String getDefaultSheetName() {
        return defaultSheetName;
    }

    public void setDefaultSheetName(String defaultSheetName) {
        this.defaultSheetName = defaultSheetName;
    }
}
